Conditions | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { MigrationInterface, QueryRunner } from 'typeorm'; |
||
18 | |||
19 | public async down(queryRunner: QueryRunner): Promise<void> { |
||
20 | await queryRunner.query( |
||
21 | `ALTER TABLE "notification" DROP CONSTRAINT "FK_d7dcd7fa90cc4542719b880bc7f"` |
||
22 | ); |
||
23 | await queryRunner.query(`DROP TABLE "notification"`); |
||
24 | await queryRunner.query(`DROP TYPE "public"."notification_type_enum"`); |
||
25 | } |
||
27 |